import HeaderAsideLayout from '@/layouts/HeaderAsideLayout';
import NotFound from '@/pages/NotFound';
import NoAuth from '@/pages/NoAuth';
import Home from '@/pages/Home';
import OrderDetail from '@/pages/Order/OrderDetail';
import OrderList from '@/pages/Order/OrderList';
import FansClub from '@/pages/FansClub';


const routerConfig = [
  {
    path: '/dashboard',
    component: HeaderAsideLayout,
    children: [
      { path: '/dashboard/basic', component: Home },
    ],
  },
  {
    path: '/order',
    component: HeaderAsideLayout,
    children: [
      { path: '/order/list', component: OrderList },
      { path: '/order/detail', component: OrderDetail },
    ],
  },
  {
    path: '/h5',
    component: FansClub,
  },
  {
    path: '/',
    component: HeaderAsideLayout,
    children: [
      { path: '/no_auth', component: NoAuth },
    ],
  },
  { path: '*', component: NotFound },
];

export default routerConfig;
